
    } else if (ch == 72) {
        if (changdi[x + fxfx[3][0]][y + fxfx[3][1]] == 1 | changdi[x + fxfx[3][0]][y + fxfx[3][1]] == 2) {
            fangx = nextfx = 3;
        } else {
            nextfx = 3;
        }
    } else if (ch == ' ') {
        stopped = (stopped + 1) % 2;
    } else if (ch == '-') {
        t1++;
    } else if ((ch == '+') && t1 - 1 > 0) {
        t1--;
    }  
    else if (ch == '$') {
        dali = (dali + 1) % 2;
    }
}
 //3)
